# use third libs
set(fmt_SOURCE_DIR ${THIRD_LIB}/fmt)

macro(use_fmt ag_project_name)
  target_compile_definitions(${ag_project_name} PRIVATE USE_LIB_FMT)
  target_compile_definitions(${ag_project_name} PRIVATE FMT_HEADER_ONLY)
  # include fmt_SOURCE_DIR ==> fmt
  target_include_directories(${ag_project_name} PRIVATE ${fmt_SOURCE_DIR}/include)
endmacro(use_fmt)